package com.think;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableAuthorizationServer;

/**
 * Created by Administrator on 2018/5/16 0016.
 */
@SpringBootApplication
@EnableDiscoveryClient
@ServletComponentScan
@MapperScan("com.think.dao.mapper")
@EnableAuthorizationServer
public class SecurityDemo01Application {
    public static void main(String[] args) {
        SpringApplication.run(SecurityDemo01Application.class, args);
    }
}